package com.base.service.impl;

import com.base.mapper.voipmapper.ReplacementErrorMapper;
import com.base.po.replacement.ReplacementError;
import com.base.po.replacement.ReplacementErrorExample;
import com.base.service.ReplacementErrorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementErrorService")
public class ReplacementErrorServiceImpl implements ReplacementErrorService {
	
	@Autowired
	private ReplacementErrorMapper replacementErrorMapper;


	@Override
	public int countByExample(ReplacementErrorExample example) {
		return replacementErrorMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementErrorExample example) {
		return replacementErrorMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return replacementErrorMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ReplacementError record) {
		return replacementErrorMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementError record) {
		return replacementErrorMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementError> selectByExample(ReplacementErrorExample example) {
		return replacementErrorMapper.selectByExample(example);
	}

	@Override
	public ReplacementError selectByPrimaryKey(Integer id) {
		return replacementErrorMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(ReplacementError record, ReplacementErrorExample example) {
		return replacementErrorMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ReplacementError record, ReplacementErrorExample example) {
		return replacementErrorMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ReplacementError record) {
		return replacementErrorMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReplacementError record) {
		return replacementErrorMapper.updateByPrimaryKey(record);
	}
}
